// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#define ITEMTYPE_god -1

#define ITEMTYPE_hand 0
#define ITEMTYPE_m9 1
#define ITEMTYPE_magrum 2
#define ITEMTYPE_tt 3
#define ITEMTYPE_canTeen 4
#define ITEMTYPE_baseballBat 5
#define ITEMTYPE_crowbar 6
#define ITEMTYPE_fireAxe 7
#define ITEMTYPE_golfClub 8
#define ITEMTYPE_hatchet 9
#define ITEMTYPE_kitchenKnife 10
#define ITEMTYPE_pipeWrench 11
#define ITEMTYPE_shovel 12
#define ITEMTYPE_edgehammer 13
#define ITEMTYPE_waterCan 14
#define ITEMTYPE_bow 18


#define ITEMTYPE_mm7D62 40
#define ITEMTYPE_mm9 41
#define ITEMTYPE_arrow 42

#define ITEMTYPE_dustWall 100
#define ITEMTYPE_wireBox 101
#define ITEMTYPE_campFire 102

#define ITEMTYPE_woodStick 200
#define ITEMTYPE_treeBlock 201
#define ITEMTYPE_flint 202
#define ITEMTYPE_woodSticks 203
#define ITEMTYPE_rock 204


#include "ItemDisplay.h"

/**
 * item data table
 */
class ISALONG2_API ItemType
{
public:
	static float GetWeightByID(int id);
	static int GetWeaponBoxModeByID(int id);
	static bool GetIsHoldable(int id);
	static bool GetIsAttachable(int id);
	static bool GetIsConsumable(int id);
	static TArray<int> GetReloadNeedType(int id);
	static string GetItemNameByID(int id);
	static FString GetItemFStringNameByID(int id);
	static FItemDisplay* GetItemDisplayByID(int id);

	static UDataTable* _itemDisplayDT;
};
